package com.lyncs.ods.req;

import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * 微信登录参数
 *
 * @author Tellsea
 * @date 2022/3/25
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = true)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
public class WxMpLogin extends WxInfoReq {

    /**
     * 非敏感的用户信息
     */
    @ApiModelProperty("非敏感的用户信息")
    @NotNull
    private String rawData;

    /**
     * 签名信息
     */
    @ApiModelProperty("签名信息")
    @NotNull
    private String signature;
}